<?php
return array(
	'attributeLabels' => array(
		'cate_id' => '店铺分类',
	),	
	
	'rules'=>array(
		array('cate_id',Yii::app()->adminUser->role == AdminUser::ROLE_PROVIDER ? 'required' : 'unsafe'),
	),
	
	'relations' => array(
		'goods' => array(ActiveRecord::BELONGS_TO, 'Goods', 'goods_id'),
	),
	
	'_import' => array(
		array('*', 'models.ActiveRecord//*'),
	),
);